package com.orkasgb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orkasgb.entity.OrkasgbDictEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典信息表(TOrkasgbDict)表数据库访问层
 *
 * @version 1.0.0
 * @since 2024-09-21 23:37:02
 */
@Mapper
public interface OrkasgbDictMapper extends BaseMapper<OrkasgbDictEntity> {
	
	/**
	 * 批量新增或按主键更新数据（MyBatis原生foreach方法）
	 *
	 * @param entities List<OrkasgbDictEntity> 实例对象列表
	 * @return 影响行数
	 * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常，请自行校验入参
	 */
	int insertOrUpdateBatch (@Param("entities") List<OrkasgbDictEntity> entities);
	
}

